<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title> 1-2 编程练习</title>
    <link rel="stylesheet" type="text/css" href="../../../css/style.css"/>
    <style type="text/css">

    </style>

    <script type="text/javascript">
    document.write("系好安全带,准备启航--目标JS"+"<br>");
    function myfunc(){
        var mychar=confirm("准备好了吗?");
        if(mychar==true){
            document.write("准备好了,起航吧!");
        }else{
            document.write("还没准备好,需要抓紧时间!");
        }
    }
    </script>
</head>

<body>
<div align="center">
    <p><a href="../index.php#jsjjp" class="fontSize" title="点击进入该目录">目录</a></p>
</div>

<p>JS进阶篇</p>
<form>
    <input type="button" onclick="myfunc()" value="点击进入" />
</form>

<script type="text/javascript">

</script>

</body>
</html>
